from game.object.item import Item


class Weapon(Item):
    def __init__(self, name, **args):
        Item.__init__(self, name, **args)

        self.group = 'weapon'

        #broad weapon type, e.g. sword, mace, axe, staff, bow
        self.typ = None

        #weapon category, e.g. 1-handed, 2-handed, throwing (grenades),
        #light (daggers), projectile (bows), mystical (wands)
        self.cat = None

        #base attack rating (chance to hit)
        self.base_atk = 0

        #base damage dealt
        self.base_dmg_min = 1
        self.base_dmg_max = 1